home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 6-Apple⁄DEC Alliance / Solutions & Networking Guide / Macintosh Networking Guide / Macintosh Networking Guide / card_11559.txt < prev    next >
Text File  |  1990-04-17  |  21KB  |  854 lines

  1. -- card: 11559 from stack: in
  2. -- bmap block id: 13197
  3. -- flags: 0000
  4. -- background id: 18894
  5. -- name: Hardware Room
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global sol,env,foundation,prodnameH,prodnameHP
  9.   put "Hardware Level" into fld "Floorname"
  10.   --‚àÜ Set level buttons when entering from hall
  11.   set hilite of bkgnd btn "Application Level" to false
  12.   set hilite of bkgnd btn "Network Level" to false
  13.   set hilite of bkgnd btn "Hardware Level" to true
  14.   --‚àÜ Clear signs
  15.   put true into tidyUpNow
  16.   --‚àÜ Set scroll on display fields
  17.   set the scroll of cd fld "side1" to 0
  18.   set the scroll of cd fld "side2" to 0
  19.   --‚àÜ Paint signs at back of room
  20.   if env is not "Mac" then
  21.     put env into envTemp
  22.   else
  23.     put "Macintosh" into envTemp
  24.   end if
  25.   put envTemp && "Compatible" & return & "Macintosh Related Hardware" into fld "Tell"
  26.   put "Macintosh based" && envTemp && "Compatible Hardware" into cd fld "Choice"
  27.   repeat with i = 3 to 9
  28.     set the hilite of cd btn i to false
  29.   end repeat
  30.   if env <> "PC" then
  31.     put empty into fld "Prodname2"
  32.     put empty into cd fld "Protocol2"
  33.     set hilite of bkgnd btn id 52 to false
  34.     hide btn "PC"
  35.   else
  36.     show btn "PC"
  37.   end if
  38.   --‚àÜ Show the correct CPU
  39.   hide cd btn "Macintosh II Family"
  40.   hide cd btn "Macintosh Portable"
  41.   hide cd btn "Macintosh SE"
  42.   hide cd btn "Macintosh SE/30"
  43.   show cd btn foundation
  44.   if prodnameH is empty then set hilite of bkgnd btn id 43 to false
  45.   if prodnameHP is empty then set hilite of bkgnd btn id 52 to false
  46.   pass openCard
  47. end openCard
  48.  
  49. on getMac
  50.   global holder,env,computer,temp
  51.   put empty into temp
  52.   repeat with i = 1 to the number of lines of holder
  53.     if item 1 of line i of holder <> empty and item 3 of line i of holder is computer then
  54.       put character 1 to 31 of item 1 of line i of holder & return after temp
  55.     end if
  56.   end repeat
  57.   if temp <> empty then
  58.     put temp after cd fld "Side1"
  59.   else
  60.     put "No solutions installed in this version" after cd fld "Side1"
  61.   end if
  62. end getMac
  63.  
  64. on closeCard
  65.   hide cd fld "Side1"
  66.   hide cd fld "Side2"
  67.   set the hilite of cd btn "Macintosh II Family" to false
  68.   set the hilite of cd btn "Macintosh Portable" to false
  69.   set the hilite of cd btn "Macintosh SE" to false
  70.   set the hilite of cd btn "Macintosh SE/30" to false
  71.   pass closeCard
  72. end closeCard
  73.  
  74. on getPC
  75.   global holder,env,computer,temp
  76.   put empty into temp
  77.   repeat with i = 1 to the number of lines of holder
  78.     if item 2 of line i of holder <> empty and item 3 of line i of holder is computer
  79.     then
  80.     put item 2 of line i of holder & return after temp
  81.   end if
  82. end repeat
  83. if temp <> empty then
  84.   put temp after cd fld "Side2"
  85. else
  86.   put "No Solutions installed in this version" after cd fld "Side2"
  87. end if
  88. end getPC
  89.  
  90.  
  91.  
  92.  
  93. -- part 1 (button)
  94. -- low flags: 00
  95. -- high flags: 0000
  96. -- rect: left=0 top=0 right=300 bottom=30
  97. -- title width / last selected line: 0
  98. -- icon id / first selected line: 0 / 0
  99. -- text alignment: 1
  100. -- font id: 0
  101. -- text size: 12
  102. -- style flags: 0
  103. -- line height: 16
  104. -- part name: 
  105. ----- HyperTalk script -----
  106. on mouseUp
  107.   global env,foundation,hall,currentFloor,lastRoom
  108.   if hall is empty then put "Hallway1" into hall
  109.   put env && foundation into lastRoom
  110.   put "1  Hardware" into currentFloor
  111.   set lockscreen to true
  112.   go to cd hall
  113.   unlock screen with zoom open slowly
  114. end mouseUp
  115.  
  116. On mouseDown
  117.   global ButtonSND
  118.   play ButtonSND
  119. End mouseDown
  120.  
  121. on mouseEnter
  122.   changeCurs 6069
  123.   put "Exit to Hall" & return & "click to go to hall" into fld "Tell"
  124. end mouseEnter
  125.  
  126. on mouseLeave
  127.   changeCurs 69
  128.   put empty into fld "Tell"
  129. end mouseLeave
  130.  
  131.  
  132. -- part 30 (field)
  133. -- low flags: 01
  134. -- high flags: 0000
  135. -- rect: left=57 top=65 right=86 bottom=434
  136. -- title width / last selected line: 0
  137. -- icon id / first selected line: 0 / 0
  138. -- text alignment: 1
  139. -- font id: 156
  140. -- text size: 14
  141. -- style flags: 256
  142. -- line height: 18
  143. -- part name: Choice
  144.  
  145.  
  146. -- part 76 (button)
  147. -- low flags: 00
  148. -- high flags: 8004
  149. -- rect: left=41 top=155 right=210 bottom=142
  150. -- title width / last selected line: 0
  151. -- icon id / first selected line: 10715 / 10715
  152. -- text alignment: 1
  153. -- font id: 0
  154. -- text size: 12
  155. -- style flags: 0
  156. -- line height: 16
  157. -- part name: Macintosh II Family
  158. ----- HyperTalk script -----
  159. on mouseUp
  160.   global computer,holder
  161.   put "Macintosh¬†II Family" into computer
  162.   set lockscreen to true
  163.   if holder is empty then
  164.     put "No Solutions Installed in this version" into fld "Tell"
  165.     exit mouseUp
  166.   end if
  167.   put "Macintosh II Family Products:" & return & return into cd fld "Side1"
  168.   getMac
  169.   if line 3 of cd fld "Side1" is empty then
  170.     put "No Solutions Installed In This Version" after cd fld "Side1"
  171.   end if
  172.   set lockscreen to false
  173.   set the visible of cd fld "Side1" to true
  174. end mouseUp
  175.  
  176. on mouseEnter
  177.   changeCurs 6069
  178.   put "Macintosh II¬†Family" & return & "click to select products" into fld "Tell"
  179. end mouseEnter
  180.  
  181. on mouseLeave
  182.   changeCurs 69
  183.   put empty into fld "Tell"
  184. end mouseleave
  185.  
  186.  
  187.  
  188.  
  189. -- part 78 (field)
  190. -- low flags: 01
  191. -- high flags: 0000
  192. -- rect: left=62 top=90 right=154 bottom=245
  193. -- title width / last selected line: 0
  194. -- icon id / first selected line: 0 / 0
  195. -- text alignment: 65535
  196. -- font id: 3
  197. -- text size: 9
  198. -- style flags: 0
  199. -- line height: 12
  200. -- part name: Protocol
  201. ----- HyperTalk script -----
  202. on mouseEnter
  203.   changeCurs 6069
  204.   put "Product Protocol" & return & "click Product name for more" into fld "Tell"
  205. end mouseEnter
  206.  
  207. on mouseLeave
  208.   changeCurs 69
  209.   put empty into fld "Tell"
  210. end mouseleave
  211.  
  212. on mouseUp
  213.   send mouseUp to bkgnd btn "Hardware"
  214. end mouseUp
  215.  
  216.  
  217. -- part 80 (button)
  218. -- low flags: 80
  219. -- high flags: 8004
  220. -- rect: left=52 top=141 right=207 bottom=142
  221. -- title width / last selected line: 0
  222. -- icon id / first selected line: 2504 / 2504
  223. -- text alignment: 1
  224. -- font id: 0
  225. -- text size: 12
  226. -- style flags: 0
  227. -- line height: 16
  228. -- part name: Macintosh SE
  229. ----- HyperTalk script -----
  230. on mouseUp
  231.   global computer,holder
  232.   put "Macintosh¬†SE¬†" into computer
  233.   set lockscreen to true
  234.   repeat with i = 3 to 8
  235.     set the hilite of cd btn i to false
  236.   end repeat
  237.   if holder is empty then
  238.     put "No Solutions Installed In This Version" into fld "Tell"
  239.     exit mouseUp
  240.   end if
  241.   put "Macintosh SE Products:" & return & return into cd fld "Side1"
  242.   getMac
  243.   if line 3 of cd fld "Side1" is empty then
  244.     put "No Solutions Installed In This Version" after cd fld "Side1"
  245.   end if
  246.   set lockscreen to false
  247.   set the visible of cd fld "Side1" to true
  248. end mouseUp
  249.  
  250. on mouseEnter
  251.   changeCurs 6069
  252.   put "Macintosh SE¬†Computer" & return & "click to select products" into fld "Tell"
  253. end mouseEnter
  254.  
  255. on mouseLeave
  256.   changeCurs 69
  257.   put empty into fld "Tell"
  258. end mouseleave
  259.  
  260.  
  261.  
  262.  
  263. -- part 81 (button)
  264. -- low flags: 80
  265. -- high flags: 8004
  266. -- rect: left=51 top=149 right=208 bottom=145
  267. -- title width / last selected line: 0
  268. -- icon id / first selected line: 2504 / 2504
  269. -- text alignment: 1
  270. -- font id: 0
  271. -- text size: 12
  272. -- style flags: 0
  273. -- line height: 16
  274. -- part name: Macintosh SE/30
  275. ----- HyperTalk script -----
  276. on mouseUp
  277.   global computer,holder
  278.   put "Macintosh¬†SE/30" into computer
  279.   set lockscreen to true
  280.   if holder is empty then
  281.     put "No Solutions Installed In This Version" into fld "Tell"
  282.     exit mouseUp
  283.   end if
  284.   put "Macintosh SE/30 Products:" & return & return into cd fld "Side1"
  285.   getMac
  286.   if line 3 of cd fld "Side1" is empty then
  287.     put "No Solutions Installed In This Version" after cd fld "Side1"
  288.   end if
  289.   set lockscreen to false
  290.   set the visible of cd fld "Side1" to true
  291. end mouseUp
  292.  
  293. on mouseEnter
  294.   changeCurs 6069
  295.   put "Macintosh SE/30" & return & "click to select products" into fld "Tell"
  296. end mouseEnter
  297.  
  298. on mouseLeave
  299.   changeCurs 69
  300.   put empty into fld "Tell"
  301. end mouseleave
  302.  
  303.  
  304.  
  305. -- part 91 (button)
  306. -- low flags: 80
  307. -- high flags: 8004
  308. -- rect: left=390 top=153 right=211 bottom=472
  309. -- title width / last selected line: 0
  310. -- icon id / first selected line: 20795 / 20795
  311. -- text alignment: 1
  312. -- font id: 0
  313. -- text size: 12
  314. -- style flags: 0
  315. -- line height: 16
  316. -- part name: PC
  317. ----- HyperTalk script -----
  318. on mouseUp
  319.   global computer,holder,env
  320.   put "PC" into computer
  321.   if holder is empty
  322.   then
  323.   put "No Solutions Installed" & return & "in this version" into fld "Tell"
  324.   exit mouseUp
  325. end if
  326. put "PC Compatible Products:" & return & return into cd fld "Side2"
  327. getPC
  328. if line 3 of cd fld "Side2" is empty then
  329.   put "No Solutions installed in this version" after cd fld "Side2"
  330. end if
  331. set lockscreen to false
  332. set the visible of cd fld "Side2" to true
  333. end mouseUp
  334.  
  335. on mouseEnter
  336.   changeCurs 6069
  337.   put "PC Compatible¬†Computer" & return & "click to select products" into fld "Tell"
  338. end mouseEnter
  339.  
  340. on mouseLeave
  341.   changeCurs 69
  342.   put empty into fld "Tell"
  343. end mouseLeave
  344.  
  345.  
  346.  
  347. -- part 86 (field)
  348. -- low flags: 01
  349. -- high flags: 0000
  350. -- rect: left=249 top=90 right=154 bottom=430
  351. -- title width / last selected line: 0
  352. -- icon id / first selected line: 0 / 0
  353. -- text alignment: 0
  354. -- font id: 3
  355. -- text size: 9
  356. -- style flags: 0
  357. -- line height: 12
  358. -- part name: Protocol2
  359. ----- HyperTalk script -----
  360. on mouseEnter
  361.   changeCurs 6069
  362.   put "Product Protocol" & return & "go to Hardware for info" into fld "Tell"
  363. end mouseEnter
  364.  
  365. on mouseLeave
  366.   changeCurs 69
  367.   put empty into fld "Tell"
  368. end mouseleave
  369.  
  370. --on mouseUp
  371. --send mouseUp to bkgnd btn "Hardware"
  372. --end mouseUp
  373.  
  374.  
  375. -- part 89 (button)
  376. -- low flags: 80
  377. -- high flags: 8000
  378. -- rect: left=67 top=121 right=174 bottom=127
  379. -- title width / last selected line: 0
  380. -- icon id / first selected line: 15090 / 15090
  381. -- text alignment: 1
  382. -- font id: 0
  383. -- text size: 12
  384. -- style flags: 0
  385. -- line height: 16
  386. -- part name: Portable
  387. ----- HyperTalk script -----
  388. on mouseUp
  389.   global Help,computer,holder
  390.   if Help then exit mouseUp
  391.   put "Portable" into computer
  392.   set lockscreen to true
  393.   repeat with i = 3 to 8
  394.     set the hilite of cd btn i to false
  395.   end repeat
  396.   set the hilite of me to true
  397.   if holder is empty
  398.   then
  399.   put "No Solutions....yet!" into fld "Tell"
  400.   exit mouseUp
  401. end if
  402. put "Macintosh Portable Computer" into cd fld "Choice"
  403. put "Macintosh Portable Products:" & return & return into cd fld "Side1"
  404. getMac
  405. if line 3 of cd fld "Side1" is empty then
  406.   put "No Solutions...here!" after cd fld "Side1"
  407. end if
  408. set lockscreen to false
  409. set the visible of cd fld "Side1" to true
  410. end mouseUp
  411.  
  412. on mouseEnter
  413.   global Help
  414.   if Help then
  415.   else
  416.     put "'Macintosh SE'¬†Computer" & return & "click to select products" into fld "Tell"
  417.   end if
  418. end mouseEnter
  419.  
  420. on mouseLeave
  421.   global Help
  422.   if help then
  423.   else
  424.     changeCurs 6069
  425.     put empty into fld "Tell"
  426.   end if
  427. end mouseleave
  428.  
  429.  
  430.  
  431.  
  432. -- part 94 (button)
  433. -- low flags: 00
  434. -- high flags: 8003
  435. -- rect: left=187 top=217 right=238 bottom=332
  436. -- title width / last selected line: 0
  437. -- icon id / first selected line: 0 / 0
  438. -- text alignment: 1
  439. -- font id: 0
  440. -- text size: 12
  441. -- style flags: 0
  442. -- line height: 16
  443. -- part name: Cabling Comparison
  444. ----- HyperTalk script -----
  445. on mouseUp
  446.   go card "Cabling Comparison"
  447. end mouseUp
  448.  
  449. on mouseEnter
  450.   put "Cabling Comparison Button" & return & "click to compare cable systems" into fld "Tell"
  451.   changeCurs 6069
  452. end mouseEnter
  453.  
  454. on mouseLeave
  455.   put empty into fld "Tell"
  456.   changeCurs 69
  457. end mouseleave
  458.  
  459.  
  460.  
  461.  
  462. -- part 95 (button)
  463. -- low flags: 00
  464. -- high flags: 0000
  465. -- rect: left=159 top=180 right=215 bottom=344
  466. -- title width / last selected line: 0
  467. -- icon id / first selected line: 0 / 0
  468. -- text alignment: 1
  469. -- font id: 0
  470. -- text size: 12
  471. -- style flags: 0
  472. -- line height: 16
  473. -- part name: mask
  474.  
  475.  
  476. -- part 96 (button)
  477. -- low flags: 80
  478. -- high flags: 0000
  479. -- rect: left=59 top=127 right=141 bottom=231
  480. -- title width / last selected line: 0
  481. -- icon id / first selected line: 0 / 0
  482. -- text alignment: 1
  483. -- font id: 0
  484. -- text size: 12
  485. -- style flags: 0
  486. -- line height: 16
  487. -- part name: side1Hiliter
  488.  
  489.  
  490. -- part 97 (button)
  491. -- low flags: 80
  492. -- high flags: 8004
  493. -- rect: left=42 top=148 right=205 bottom=147
  494. -- title width / last selected line: 0
  495. -- icon id / first selected line: 15090 / 15090
  496. -- text alignment: 1
  497. -- font id: 0
  498. -- text size: 12
  499. -- style flags: 0
  500. -- line height: 16
  501. -- part name: Macintosh Portable
  502. ----- HyperTalk script -----
  503. on mouseUp
  504.   global computer,holder
  505.   put "Macintosh¬†Portable" into computer
  506.   set lockscreen to true
  507.   if holder is empty then
  508.     put "No Solutions Installed In This Version" into fld "Tell"
  509.     exit mouseUp
  510.   end if
  511.   put "Macintosh Portable Products:" & return & return into cd fld "Side1"
  512.   getMac
  513.   if line 3 of cd fld "Side1" is empty then
  514.     put "No Solutions Installed In This Version" after cd fld "Side1"
  515.   end if
  516.   set lockscreen to false
  517.   set the visible of cd fld "Side1" to true
  518. end mouseUp
  519.  
  520. on mouseEnter
  521.   changeCurs 6069
  522.   put "Macintosh Portable" & return & "click to select products" into fld "Tell"
  523. end mouseEnter
  524.  
  525. on mouseLeave
  526.   changeCurs 69
  527.   put empty into fld "Tell"
  528. end mouseleave
  529.  
  530.  
  531.  
  532.  
  533. -- part 98 (button)
  534. -- low flags: 80
  535. -- high flags: 8002
  536. -- rect: left=55 top=156 right=208 bottom=146
  537. -- title width / last selected line: 0
  538. -- icon id / first selected line: 10714 / 10714
  539. -- text alignment: 1
  540. -- font id: 0
  541. -- text size: 12
  542. -- style flags: 0
  543. -- line height: 16
  544. -- part name: Macintosh IIci
  545. ----- HyperTalk script -----
  546. on mouseUp
  547.   global computer,holder
  548.   put "Macintosh¬†IIci" into computer
  549.   set lockscreen to true
  550.   repeat with i = 3 to 8
  551.     set the hilite of cd btn i to false
  552.   end repeat
  553.   if holder is empty
  554.   then
  555.   put "No Solutions Installed In This Version" into fld "Tell"
  556.   exit mouseUp
  557. end if
  558. put "Macintosh IIci Computer" into cd fld "Choice"
  559. put "Macintosh IIci Products:" & return & return into cd fld "Side1"
  560. getMac
  561. if line 3 of cd fld "Side1" is empty then
  562.   put "No Solutions Installed In This Version" after cd fld "Side1"
  563. end if
  564. set lockscreen to false
  565. set the visible of cd fld "Side1" to true
  566. end mouseUp
  567.  
  568. on mouseEnter
  569.   changeCurs 6069
  570.   put "Macintosh IIci" & return & "click to select products" into fld "Tell"
  571. end mouseEnter
  572.  
  573. on mouseLeave
  574.   changeCurs 69
  575.   put empty into fld "Tell"
  576. end mouseleave
  577.  
  578.  
  579.  
  580.  
  581. -- part 99 (button)
  582. -- low flags: 80
  583. -- high flags: 8002
  584. -- rect: left=48 top=153 right=207 bottom=141
  585. -- title width / last selected line: 0
  586. -- icon id / first selected line: 10715 / 10715
  587. -- text alignment: 1
  588. -- font id: 0
  589. -- text size: 12
  590. -- style flags: 0
  591. -- line height: 16
  592. -- part name: Macintosh IIfx
  593. ----- HyperTalk script -----
  594. on mouseUp
  595.   global computer,holder
  596.   put "Macintosh¬†IIfx" into computer
  597.   set lockscreen to true
  598.   repeat with i = 3 to 8
  599.     set the hilite of cd btn i to false
  600.   end repeat
  601.   if holder is empty
  602.   then
  603.   put "No Solutions Installed In This Version" into fld "Tell"
  604.   exit mouseUp
  605. end if
  606. put "Macintosh IIfx Computer" into cd fld "Choice"
  607. put "Macintosh IIfx Products:" & return & return into cd fld "Side1"
  608. getMac
  609. if line 3 of cd fld "Side1" is empty then
  610.   put "No Solutions Installed In This Version" after cd fld "Side1"
  611. end if
  612. set lockscreen to false
  613. set the visible of cd fld "Side1" to true
  614. end mouseUp
  615.  
  616. on mouseEnter
  617.   changeCurs 6069
  618.   put "Macintosh IIfx" & return & "click to select products" into fld "Tell"
  619. end mouseEnter
  620.  
  621. on mouseLeave
  622.   changeCurs 69
  623.   put empty into fld "Tell"
  624. end mouseleave
  625.  
  626.  
  627.  
  628.  
  629. -- part 84 (field)
  630. -- low flags: 81
  631. -- high flags: 2007
  632. -- rect: left=249 top=86 right=191 bottom=431
  633. -- title width / last selected line: 0
  634. -- icon id / first selected line: 0 / 0
  635. -- text alignment: 0
  636. -- font id: 3
  637. -- text size: 10
  638. -- style flags: 0
  639. -- line height: 13
  640. -- part name: Side2
  641. ----- HyperTalk script -----
  642. on mouseUp
  643.   global holder,prodnameHP,protocol
  644.   put selectionAndHiliter() into cardline
  645.   put line cardline of me into prodnameHP
  646.   if prodnameHP contains "Products"
  647.   then
  648.   put empty into prodnameHP
  649.   hide cd btn "Side2Hiliter"
  650.   hide me
  651.   exit mouseup
  652. end if
  653. if prodnameHP is empty
  654. then
  655. answer "Empty Choice!" with "Try Again"
  656. exit mouseup
  657. end if
  658. put prodnameHP into fld "Prodname2"
  659. set hilite of bkgnd btn id 52 to true
  660. put "click for product info" into fld "click2"
  661. repeat with i = 1 to the number of lines of holder
  662.   if item 2 of line i of holder is prodnameHP then
  663.     put item 7 of line i of holder into device
  664.     put prodnameHP & "," & return & device & "," & return into cd fld "Protocol2"
  665.   end if
  666.   if item 2 of line i of holder is prodnameHP then
  667.     put item 6 of line i of holder into dotnames
  668.     put offset("‚Ä¢",dotnames) into num
  669.     if num is empty or num is 0 then exit repeat
  670.     put char 1 to (num - 1) of dotnames into protocol
  671.     put "uses" && protocol & "," & return after cd fld "Protocol2"
  672.   end if
  673.   if item 2 of line i of holder is prodnameHP then
  674.     put item 4 of line i of holder into dotnames
  675.     put empty into ProtocolD2
  676.     repeat
  677.       put offset("‚Ä¢",dotnames) into num
  678.       if num is empty or num is 0 then
  679.         delete last char of ProtocolD2
  680.         exit repeat
  681.       end if
  682.       put char 1 to (num - 1) of dotnames & "/" after ProtocolD2
  683.       delete char 1 to num of dotnames
  684.     end repeat
  685.     put "and provides" && ProtocolD2 after cd fld "Protocol2"
  686.   end if
  687. end repeat
  688. hide cd btn "Side2Hiliter"
  689. hide me
  690. end mouseUP
  691.  
  692. on mouseEnter
  693.   changeCurs 6069
  694.   put "PC Products Field" & return & "click to select a product" into fld "Tell"
  695. end mouseEnter
  696.  
  697. on mouseLeave
  698.   changeCurs 69
  699.   put empty into fld "Tell"
  700. end mouseleave
  701.  
  702. On mouseDown
  703.   Global ClickSND
  704.   play ClickSND
  705. End mouseDown
  706.  
  707.  
  708. -- part 101 (button)
  709. -- low flags: 80
  710. -- high flags: 4000
  711. -- rect: left=250 top=91 right=106 bottom=414
  712. -- title width / last selected line: 0
  713. -- icon id / first selected line: 0 / 0
  714. -- text alignment: 1
  715. -- font id: 0
  716. -- text size: 12
  717. -- style flags: 0
  718. -- line height: 16
  719. -- part name: Side2Hiliter
  720.  
  721.  
  722. -- part 77 (field)
  723. -- low flags: 81
  724. -- high flags: 2007
  725. -- rect: left=16 top=86 right=193 bottom=248
  726. -- title width / last selected line: 0
  727. -- icon id / first selected line: 0 / 0
  728. -- text alignment: 0
  729. -- font id: 3
  730. -- text size: 10
  731. -- style flags: 0
  732. -- line height: 13
  733. -- part name: Side1
  734. ----- HyperTalk script -----
  735. on mouseUp
  736.   global holder,prodnameH,protocol,ProtocolD
  737.   put selectionAndHiliter() into cardline
  738.   put line cardline of me into prodnameH
  739.   if prodnameH contains "Products" or prodnameH contains "No solution"
  740.   then
  741.   hide cd btn "side1Hiliter"
  742.   hide me
  743.   put empty into prodnameH
  744.   exit mouseup
  745. end if
  746. if prodnameH is empty
  747. then
  748. answer "Empty Choice!" with "Try Again"
  749. exit mouseup
  750. end if
  751. set lockscreen to true
  752. put prodnameH into fld "Prodname"
  753. set hilite of bkgnd btn id 43 to true
  754. put "click for product info" into fld "click"
  755. repeat with i = 1 to the number of lines of holder
  756.   if item 1 of line i of holder is prodnameH then
  757.     put item 7 of line i of holder into device
  758.     put prodnameH & "," & return & device & "," & return into cd fld "Protocol"
  759.   end if
  760.   if item 1 of line i of holder is prodnameH then
  761.     put item 6 of line i of holder into dotnames
  762.     put offset("‚Ä¢",dotnames) into num
  763.     if num is empty or num is 0 then exit repeat
  764.     put char 1 to (num - 1) of dotnames into protocol
  765.     put "uses" && protocol & "," & return after cd fld "Protocol"
  766.   end if
  767.   if item 1 of line i of holder is prodnameH then
  768.     put item 4 of line i of holder into dotnames
  769.     put empty into ProtocolD
  770.     repeat
  771.       put offset("‚Ä¢",dotnames) into num
  772.       if num is empty or num is 0 then
  773.         delete last char of ProtocolD
  774.         exit repeat
  775.       end if
  776.       put char 1 to (num - 1) of dotnames & "/" after Protocold
  777.       delete char 1 to num of dotnames
  778.     end repeat
  779.     put "and provides" && ProtocolD after cd fld "Protocol"
  780.   end if
  781. end repeat
  782. hide cd btn "side1Hiliter"
  783. hide me
  784. unlock screen with iris close
  785. end mouseUP
  786.  
  787. on mouseEnter
  788.   changeCurs 6069
  789.   put "Products Field" & return & "click to select a product" into fld "Tell"
  790. end mouseEnter
  791.  
  792. on mouseLeave
  793.   changeCurs 69
  794.   put empty into fld "Tell"
  795. end mouseleave
  796.  
  797. On mouseDown
  798.   Global ClickSND
  799.   play ClickSND
  800. End mouseDown
  801.  
  802. on parseP
  803.   global holder,Protocold,prodname
  804.   put empty into Protocold
  805.   repeat with i = 1 to the number of lines of holder
  806.     if item 1 of line i of holder is prodname then
  807.       put item 4 of line i of holder into dotnames
  808.       repeat
  809.         put offset("‚Ä¢",dotnames) into num
  810.         if num is empty or num is 0 then exit repeat
  811.         put char 1 to (num - 1) of dotnames & return after Protocold
  812.         delete char 1 to num of dotnames
  813.       end repeat
  814.     end if
  815.   end repeat
  816. end parseP
  817.  
  818.  
  819. -- part contents for card part 30
  820. ----- text -----
  821. Macintosh based Digital Compatible Hardware
  822.  
  823. -- part contents for background part 41
  824. ----- text -----
  825. Macintosh to Digital Hardware Room
  826.  
  827. -- part contents for background part 68
  828. ----- text -----
  829. Hardware Level
  830.  
  831. -- part contents for card part 84
  832. ----- text -----
  833. Digital based Products:
  834.  
  835. No Solutions installed in this version
  836.  
  837. -- part contents for card part 77
  838. ----- text -----
  839. Macintosh II Family Products:
  840.  
  841. Apple EtherTalk NB Card
  842. CommCard
  843. Local and Remote Repeaters
  844. Multimedia Ethernet System
  845. 10BaseT Transceiver
  846. Du Pont  Fiber Optic Inter-Repe
  847. Ether2
  848. ETHERLINK NB
  849. EtherPort II
  850. EtherPort IIL
  851. LattisNet Model 3030 Department
  852. PHONENET CARD
  853. ProModem 2400MII
  854.